
{include file="header.html"}


<div class="main fn-clear">
	<div class="my-title">
    	<h1>提现记录<span><a href="index.php?c=index&a=cashout">提现</a>|<a href="index.php?c=index&a=recharge">充值</a></span></h1>
        <form id="record_form">
        <p>交易时间：<input name="trade_time_start" type="text" id="trade_time_start">&nbsp;&nbsp;到&nbsp;&nbsp;<input name="trade_time_end" type="text" id="trade_time_end">&nbsp;&nbsp;<input type="hidden" id="record_type" value="draw"><input class="search" id="record_search" name="" type="button" value="查询">&nbsp;&nbsp;&nbsp;&nbsp;提现：<span class="pay-out">{$draw_total}</span>&nbsp;元</p></form>
        <div class="action">可用余额：<em>{$user_info.vcount}</em>元</div>
    </div>
    <div class="list-box">
    	<table>
            <tbody>
            	<tr class="title">
                	<td class="time">创建时间</td>
                	<td class="number">流水号</td>
                	<td class="amount">金额</td>
                	<td class="date">手续费</td>
                	<td class="payment">资金渠道</td>
                	<td class="from">状态</td>
					<td class="from"></td>
                </tr>
                {foreach from=$rs item=draw}
            	<tr>
                	<td class="time">{$draw.add_time}</td>
                	<td class="number">{$draw.serial_number}</td>
                	<td class="amount"><span class="pay-out">{$draw.money}</span></td>
                	<td class="date">{$draw.poundage}</td>
                	<td class="payment">{$draw.bank_name}<br><span class="card">***{$draw.card_number|substr:"-4,0"}</span></td>
                	<td class="from">{if $draw.status eq 0}待审核{elseif $draw.status eq 1}审核通过{elseif $draw.status eq 2}已打款{elseif $draw.status eq 3}审核不通过{/if}</td>
					<td class="from">{if $draw.status eq 3}原因：{$draw.note}{/if}</td>
                </tr>
                {/foreach}
            </tbody>
            <tfoot>
            	<tr>
                	<td colspan="6">
                	{$page_str}
                    </td>
                </tr>
            </tfoot>
        </table>
    </div>
</div>
{include file="footer.html"}